#ifndef  BRICK
#define  BRICK
#include <string>
#include "serial.hpp"

using namespace std;

class Brick{
private:
    Serial *comport;
public:
    Brick();
    Brick(Serial *cp);
    int set_name(string name);
    string get_name();
    string firmware_version();
    int keep_alive();
    int start_program(string file);
    int stop_program();
    int battery_level();
};
#endif
